package com.ruoyi.bizsys.service;

import java.math.BigDecimal;
import java.util.List;

import com.ruoyi.bizsys.domain.WalletAmount;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.bizsys.vo.WalletAmountVo;

/**
 * 钱包账户金额Service接口
 *
 * @author african-loan
 * @date 2022-06-17
 */
public interface IWalletAmountService extends IService<WalletAmount>{
    /**
     * 查询钱包账户金额
     *
     * @param id 钱包账户金额ID
     * @return 钱包账户金额
     */
    public WalletAmount selectWalletAmountById(Long id);

    /**
     * 查询钱包账户金额列表
     *
     * @param walletAmount 钱包账户金额
     * @return 钱包账户金额集合
     */
    public List<WalletAmount> selectWalletAmountList(WalletAmount walletAmount);

    /**
     * 新增钱包账户金额
     *
     * @param walletAmount 钱包账户金额
     * @return 结果
     */
    public int insertWalletAmount(WalletAmount walletAmount);

    /**
     * 修改钱包账户金额
     *
     * @param walletAmount 钱包账户金额
     * @return 结果
     */
    public int updateWalletAmount(WalletAmount walletAmount);

    /**
     * 批量删除钱包账户金额
     *
     * @param ids 需要删除的钱包账户金额ID
     * @return 结果
     */
    public int deleteWalletAmountByIds(Long[] ids);

    /**
     * 删除钱包账户金额信息
     *
     * @param id 钱包账户金额ID
     * @return 结果
     */
    public int deleteWalletAmountById(Long id);

    BigDecimal selectWalletAmount(String custNo);

    WalletAmountVo selectWalletLisDetail(WalletAmount walletAmount);
}
